/** COPYRIGHT(C) 2008. Natasha Khuri. All Rights Reserved.
    A Java class that tests the Sentence class
    @author Natasha Khuri
    @version 1.01 2008-10-12
*/

public class SentenceTester
{
   public static void main(String[] args)
   {
      String input = "Dogmatic concatenation is a small category";
      Sentence mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect false" +
                         " got " + mySentence.isProfane());

      input = "small catenate";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect false" +
                         " got " + mySentence.isProfane());

      input = "CaT is on the roof";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect true" +
                         " got " + mySentence.isProfane());

      input = "This is a DOG";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect true" +
                         " got " + mySentence.isProfane());
      
      input = "   ";
      mySentence = new Sentence(input);
      System.out.println("Sentence is not profane: expect false" +
                         " got " + mySentence.isProfane());
      
      input = "DOG ";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect true" +
                         " got " + mySentence.isProfane());
      
      input = " DOG";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect true" +
                         " got " + mySentence.isProfane());
      
      input = "cat is bad";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect true" +
                         " got " + mySentence.isProfane());
      
      input = "llama ";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect true" +
                         " got " + mySentence.isProfane());
      
      input = "what is llama ";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect true" +
                         " got " + mySentence.isProfane());
      input = "dogdog cat ";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect true" +
                         " got " + mySentence.isProfane());
      input = "my dog is small";
      mySentence = new Sentence(input);
      System.out.println("Sentence is profane: expect true" +
                         " got " + mySentence.isProfane());
      // additional tests go here


   }
}